package com.wzy.vx.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName: vx
 * @Package: com.wzy.vx.VO
 * @ClassName: ProductVo
 * @Author: Administrator
 * @Description: 商品包含类目
 * @Date: 2019/3/12 15:28
 * @Version: 1.0
 */
@Data
public class ProductVo implements Serializable {

    private static final long serialVersionUID = 4657995884633365868L;
    @JsonProperty("name")//返回给前端
    private  String categoryName;
    @JsonProperty("type")
    private  Integer categorType;
    @JsonProperty("foods")
    private List<ProductInfoVo> categoryFoods;

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Integer getCategorType() {
        return categorType;
    }

    public void setCategorType(Integer categorType) {
        this.categorType = categorType;
    }

    public List<ProductInfoVo> getCategoryFoods() {
        return categoryFoods;
    }

    public void setCategoryFoods(List<ProductInfoVo> categoryFoods) {
        this.categoryFoods = categoryFoods;
    }
}
